ElasticPress\Feature\ProtectedContent\ProtectedContent S

Total Complexity 50
Dependencies 2
Dependents 1
Total lines 403
Lines of code 183
Logical lines of code 105
Comment lines 157
Methods 14
Properties 0

Methods 14

Method Rating Maintainability Complexity Lines of code
integrate()
A
47 10 35
post_types()
A
52 8 26
integrate_comments_query()
A
53 8 23
remove_fields_from_password_protected()
S
52 6 26
exclude_protected_posts()
S
60 5 12
setup()
S
54 3 19
include_post_password()
S
71 2 5
requirements_status()
S
68 2 7
__construct()
S
65 1 9
query_password_protected_posts()
S
76 1 4
return_post_password()
S
77 1 4
output_feature_box_long()
S
74 1 5
get_statuses()
S
72 1 5
get_comment_statuses()
S
81 1 3